Skip to content

Add foreach Assignment to AvoidAssignmentToAutomaticVariable - #2021

Merged
Andy Jordan (andyleejordan) merged 5 commits into
PowerShell:mainfrom
poshAJ:main
Feb 25, 2025
Merged

Add foreach Assignment to AvoidAssignmentToAutomaticVariable#2021
Andy Jordan (andyleejordan) merged 5 commits into
PowerShell:mainfrom
poshAJ:main

Conversation

@poshAJ

@poshAJ AJ Raymond (poshAJ) commented Aug 10, 2024

Copy link
Copy Markdown
Contributor

PR Summary

Fixes #2020

PR Checklist

@poshAJ AJ Raymond (poshAJ) changed the title Add foreach Assignment to PSAvoidAssignmentToAutomaticVariable Add foreach Assignment to AvoidAssignmentToAutomaticVariable Aug 10, 2024

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great to me, nice fix, thank you.

@andyleejordan
Andy Jordan (andyleejordan) merged commit 01a3259 into PowerShell:main Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

foreach Variable Assignment isn't Validated by PSAvoidAssignmentToAutomaticVariable

3 participants